package com.bootdo.provider.service;

import com.bootdo.provider.domain.GoodsInfoDO;
import com.bootdo.provider.domain.dto.GoodsExcel;

import java.util.List;
import java.util.Map;

/**
 * 商品表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-20 11:24:50
 */
public interface GoodsInfoService {
	
	GoodsInfoDO get(Long goodsId);
	
	List<GoodsInfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodsInfoDO goodsInfo);
	
	int update(GoodsInfoDO goodsInfo);
	
	int remove(Long goodsId);
	
	int batchRemove(Long[] goodsIds);

	public GoodsInfoDO getGoodsBySku(Map<String,Object> map);
	int saveExcel(GoodsExcel goodsInfo);
}
